package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class EnrollSchool implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long pid;
    private Long schoolId;
    private String schoolName;
    private String name;
    private Integer status;
    private Integer sort;

    @ApiModelProperty("是否删除，0正常，1删除")
    @TableLogic(value = "0", delval = "1")
    @TableField(select = false)
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @TableField(exist = false)
    private Long teacherId;

    @TableField(exist = false)
    private String teacherName;

    @TableField(exist = false)
    private BigDecimal inviteCount;

    @TableField(exist = false)
    private BigDecimal auditionCount;

    @TableField(exist = false)
    private BigDecimal bargainCount;

    @TableField(exist = false)
    private BigDecimal inviteCountNow;

    @TableField(exist = false)
    private BigDecimal auditionCountNow;

    @TableField(exist = false)
    private BigDecimal bargainCountNow;

    @TableField(exist = false)
    BigDecimal allCount;

    @TableField(exist = false)
    BigDecimal dateNewly;

    @TableField(exist = false)
    private BigDecimal returnCount;

    @TableField(exist = false)
    private String studentName;

    @TableField(exist = false)
    private BigDecimal dealNum;

    @TableField(exist = false)
    private Integer type;

    @TableField(exist = false)
    private LocalDate addDate;

    @TableField(exist = false)
    private Integer totalCount;

    @TableField(exist = false)
    private Integer yearClassId;

    @TableField(exist = false)
    private String subjectsName;




    @TableField(exist = false)
    private Long stageTimeId;

    @TableField(exist = false)
    private Long teamPid;
    @TableField(exist = false)
    private Integer yearPart;

    @TableField(exist = false)
    private Integer quarterNum;

}
